solving the schrodinger equation